import axios from '@/libs/api.request'
export const trainQuestionTypeList = (data) => { // 系统类型
  return axios.request({
    url: '/api/ac/csc/V2TrainQuestionServiceImpl/trainQuestionTypeList',
    data: data,
    method: 'post'
  })
}
export const addTrainQuestionItem = (data) => { // 添加题
  return axios.request({
    url: '/api/ac/csc/V2TrainQuestionServiceImpl/addTrainQuestionItem',
    data: data,
    method: 'post'
  })
}
export const updateTrainQuestionItem = (data) => { // 修改题，删除题，题发布
  return axios.request({
    url: '/api/ac/csc/V2TrainQuestionServiceImpl/updateTrainQuestionItem',
    data: data,
    method: 'post'
  })
}
export const infoTrainQuestionItem = (data) => { // 题详情
  return axios.request({
    url: '/api/ac/csc/V2TrainQuestionServiceImpl/infoTrainQuestionItem',
    data: data,
    method: 'post'
  })
}
export const startTrainQuestionStudy = (data) => { // 开始学习
  return axios.request({
    url: '/api/ac/csc/V2TrainQuestionServiceImpl/startTrainQuestionStudy',
    data: data,
    method: 'post'
  })
}
export const addTrainQuestionStudyHis = (data) => { // 完成学习
  return axios.request({
    url: '/api/ac/csc/V2TrainQuestionServiceImpl/addTrainQuestionStudyHis',
    data: data,
    method: 'post'
  })
}
export const trainQuestionItemPageList = (data) => { // 题列表
  return axios.request({
    url: '/api/ac/csc/V2TrainQuestionServiceImpl/trainQuestionItemPageList',
    data: data,
    method: 'post'
  })
}
export const trainQuestionStudyCountList = (data) => { // 学习数量统计排名
  return axios.request({
    url: '/api/ac/csc/V2TrainQuestionServiceImpl/trainQuestionStudyCountList',
    data: data,
    method: 'post'
  })
}
export const addTrainManageExp = (data) => { // 添加经验
  return axios.request({
    url: '/api/ac/csc/V2TrainManageExperienceServiceImpl/addTrainManageExp',
    data: data,
    method: 'post'
  })
}
export const updateTrainManageExp = (data) => { // 经验修改，删除经验，经验提报，社区管理员审核
  return axios.request({
    url: '/api/ac/csc/V2TrainManageExperienceServiceImpl/updateTrainManageExp',
    data: data,
    method: 'post'
  })
}
export const trainManageExpInfo = (data) => { // 经验详情
  return axios.request({
    url: '/api/ac/csc/V2TrainManageExperienceServiceImpl/trainManageExpInfo',
    data: data,
    method: 'post'
  })
}
export const MyTrainManageExpPageList = (data) => { // 社区查看经验列表
  return axios.request({
    url: '/api/ac/csc/V2TrainManageExperienceServiceImpl/MyTrainManageExpPageList',
    data: data,
    method: 'post'
  })
}
export const SqMTrainManageExpPageList = (data) => { // 社区管理员查看经验列表
  return axios.request({
    url: '/api/ac/csc/V2TrainManageExperienceServiceImpl/SqMTrainManageExpPageList',
    data: data,
    method: 'post'
  })
}
export const SqTrainManageExpPageList = (data) => { // 其他社区查看已分享出来的经验
  return axios.request({
    url: '/api/ac/csc/V2TrainManageExperienceServiceImpl/SqTrainManageExpPageList',
    data: data,
    method: 'post'
  })
}
export const addSocietyOrganizationPool = (data) => { // 社会组织资源库添加
  return axios.request({
    url: '/api/ac/csc/V2SocietyOrganizationPoolServiceImpl/addSocietyOrganizationPool',
    data: data,
    method: 'post'
  })
}
export const societyOrganizationPoolList = (data) => { // 社会组织资源库列表/详情
  return axios.request({
    url: '/api/ac/csc/V2SocietyOrganizationPoolServiceImpl/societyOrganizationPoolList',
    data: data,
    method: 'post'
  })
}
export const societyOrganizationPoolMove = (data) => { // 社会组织移入到资源池
  return axios.request({
    url: '/api/ac/csc/V2SocietyOrganizationPoolServiceImpl/addSocietyOrganizationPoolMove',
    data: data,
    method: 'post'
  })
}
export const updateDelSocietyOffice = (data) => { // 社会组织从资源池移除
  return axios.request({
    url: '/api/ac/csc/V2SocietyOfficeServiceImpl/updateDelSocietyOffice',
    data: data,
    method: 'post'
  })
}
export const societyOfficeList = (data) => { // 资源池中社会组织列表
  return axios.request({
    url: '/api/ac/csc/V2SocietyOfficeServiceImpl/societyOfficeList',
    data: data,
    method: 'post'
  })
}
export const societyPushList = (data) => { // 推荐列表
  return axios.request({
    url: '/api/ac/csc/V2SocietyOfficeServiceImpl/societyPushList',
    data: data,
    method: 'post'
  })
}
export const addSocietyPerson = (data) => { // 保存人员信息
  return axios.request({
    url: '/api/ac/csc/V2SocietyPersonServiceImpl/addSocietyPerson',
    data: data,
    method: 'post'
  })
}
export const updateSocietyOffice = (data) => { // 编辑社会组织标签
  return axios.request({
    url: '/api/ac/csc/V2SocietyOfficeServiceImpl/updateSocietyOffice',
    data: data,
    method: 'post'
  })
}
export const updateSocietyOrganizationPool = (data) => { // 社会组织评分
  return axios.request({
    url: '/api/ac/csc/V2SocietyOrganizationPoolServiceImpl/updateSocietyOrganizationPool',
    data: data,
    method: 'post'
  })
}
// ********* 居民诉求管理 **********
export const addAppealType = (data) => { // 添加诉求类别
  return axios.request({
    url: '/api/ac/csc/V2AppealTypeServiceImpl/addAppealType',
    data: data,
    method: 'post'
  })
}
export const updateAppealType = (data) => { // 修改诉求类别，发布
  return axios.request({
    url: '/api/ac/csc/V2AppealTypeServiceImpl/updateAppealType',
    data: data,
    method: 'post'
  })
}
export const appealTypeList = (data) => { // 诉求类别列表
  return axios.request({
    url: '/api/ac/csc/V2AppealTypeServiceImpl/appealTypeList',
    data: data,
    method: 'post'
  })
}
export const updateDelAppealType = (data) => { // 诉求类别删除
  return axios.request({
    url: '/api/ac/csc/V2AppealTypeServiceImpl/updateDelAppealType',
    data: data,
    method: 'post'
  })
}
export const addAppeal = (data) => { // PC端添加诉求
  return axios.request({
    url: '/api/ac/csc/V2AppealListServiceImpl/addAppeal',
    data: data,
    method: 'post'
  })
}
export const updateAppeal = (data) => { // PC端诉求提报、修改
  return axios.request({
    url: '/api/ac/csc/V2AppealListServiceImpl/updateAppeal',
    data: data,
    method: 'post'
  })
}
export const infoAppeal = (data) => { // PC端诉求详情
  return axios.request({
    url: '/api/ac/csc/V2AppealListServiceImpl/infoAppeal',
    data: data,
    method: 'post'
  })
}
export const appealWithPageSQList = (data) => { // PC端社区查看诉求列表
  return axios.request({
    url: '/api/ac/csc/V2AppealListServiceImpl/appealWithPageSQList',
    data: data,
    method: 'post'
  })
}
export const appealWithPageList = (data) => { // PC端居民提报诉求列表
  return axios.request({
    url: '/api/ac/csc/V2AppealListServiceImpl/appealWithPageList',
    data: data,
    method: 'post'
  })
}
export const updateDelAppeal = (data) => { // PC端诉求删除
  return axios.request({
    url: '/api/ac/csc/V2AppealListServiceImpl/updateDelAppeal',
    data: data,
    method: 'post'
  })
}
export const societyPersonList = (data) => { // 人员分配列表
  return axios.request({
    url: '/api/ac/csc/V2SocietyPersonServiceImpl/societyPersonList',
    data: data,
    method: 'post'
  })
}
export const updateSocietyPerson = (data) => { // 社会组织上门服务完成
  return axios.request({
    url: '/api/ac/csc/V2SocietyPersonServiceImpl/updateSocietyPerson',
    data: data,
    method: 'post'
  })
}
export const updateDelSocietyPerson = (data) => { // 删除人员分配数据
  return axios.request({
    url: '/api/ac/csc/V2SocietyPersonServiceImpl/updateDelSocietyPerson',
    data: data,
    method: 'post'
  })
}
// 社区事件列表
export const companyEventList = (data) => {
  return axios.request({
    url: '/api/ac/csc/V2CompanyEventServiceImpl/companyEventList',
    data: data,
    method: 'post'
  })
}
// 社区事件新增
export const addCompanyEvent = (data) => {
  return axios.request({
    url: '/api/ac/csc/V2CompanyEventServiceImpl/addCompanyEvent',
    data: data,
    method: 'post'
  })
}
// 社区事件编辑
export const updateCompanyEvent = (data) => {
  return axios.request({
    url: '/api/ac/csc/V2CompanyEventServiceImpl/updateCompanyEvent',
    data: data,
    method: 'post'
  })
}
// 社区事件删除
export const updateDelCompanyEvent = (data) => {
  return axios.request({
    url: '/api/ac/csc/V2CompanyEventServiceImpl/updateDelCompanyEvent',
    data: data,
    method: 'post'
  })
}
// *********电子档案管理********
export const eleFilesList = (data) => { // 电子档案列表
  return axios.request({
    url: '/api/ac/csc/V2EleFilesServiceImpl/eleFilesList',
    data: data,
    method: 'post'
  })
}
export const addEleFiles = (data) => { // 添加电子档案
  return axios.request({
    url: '/api/ac/csc/V2EleFilesServiceImpl/addEleFiles',
    data: data,
    method: 'post'
  })
}
export const updateEleFiles = (data) => { // 编辑电子档案
  return axios.request({
    url: '/api/ac/csc/V2EleFilesServiceImpl/updateEleFiles',
    data: data,
    method: 'post'
  })
}
export const updateDelEleFiles = (data) => { // 删除电子档案
  return axios.request({
    url: '/api/ac/csc/V2EleFilesServiceImpl/updateDelEleFiles',
    data: data,
    method: 'post'
  })
}
export const addEleFilesHistoryDetail = (data) => { // 记录电子档案查看次数
  return axios.request({
    url: '/api/ac/csc/V2EleFilesServiceImpl/addEleFilesHistoryDetail',
    data: data,
    method: 'post'
  })
}
export const eleFilesHistoryList = (data) => { // 电子档案记录列表
  return axios.request({
    url: '/api/ac/csc/V2EleFilesServiceImpl/eleFilesHistoryList',
    data: data,
    method: 'post'
  })
}
export const eleFilesTypeList = (data) => { // 电子档案类型列表
  return axios.request({
    url: '/api/ac/csc/V2EleFilesTypeServiceImpl/eleFilesTypeList',
    data: data,
    method: 'post'
  })
}
export const addEleFilesType = (data) => { // 新增电子档案类型
  return axios.request({
    url: '/api/ac/csc/V2EleFilesTypeServiceImpl/addEleFilesType',
    data: data,
    method: 'post'
  })
}
export const updateEleFilesType = (data) => { // 编辑电子档案类型
  return axios.request({
    url: '/api/ac/csc/V2EleFilesTypeServiceImpl/updateEleFilesType',
    data: data,
    method: 'post'
  })
}
export const updateDelEleFilesType = (data) => { // 删除电子档案类型
  return axios.request({
    url: '/api/ac/csc/V2EleFilesTypeServiceImpl/updateDelEleFilesType',
    data: data,
    method: 'post'
  })
}
export const eleFilesReportMap = (data) => { // 电子档案年度报表
  return axios.request({
    url: '/api/ac/csc/V2EleFilesServiceImpl/eleFilesReportMap',
    data: data,
    method: 'post'
  })
}
export const findDocumentList = (data) => { // 查询沉淀电子要件
  return axios.request({
    url: '/api/as/csc/auditDocumentDeposit/findDocumentList',
    data: data,
    method: 'post'
  })
}
export const updateDocumentInfo = (data) => { // 修改沉淀要件功能
  return axios.request({
    url: '/api/as/csc/auditDocumentDeposit/updateDocumentInfo',
    data: data,
    method: 'post'
  })
}
// *********电子档案管理********
export const myWorkList = (data) => { // 工作列表
  return axios.request({
    url: '/api/ac/csc/V2MyWorkServiceImpl/myWorkList',
    data: data,
    method: 'post'
  })
}
export const myWorkDialogList = (data) => { // 工作提醒列表
  return axios.request({
    url: '/api/ac/csc/V2MyWorkServiceImpl/myWorkDialogList',
    data: data,
    method: 'post'
  })
}
export const addMyWork = (data) => { // 添加工作
  return axios.request({
    url: '/api/ac/csc/V2MyWorkServiceImpl/addMyWork',
    data: data,
    method: 'post'
  })
}
export const updateMyWork = (data) => { // 编辑工作
  return axios.request({
    url: '/api/ac/csc/V2MyWorkServiceImpl/updateMyWork',
    data: data,
    method: 'post'
  })
}
export const updateDelMyWork = (data) => { // 删除工作
  return axios.request({
    url: '/api/ac/csc/V2MyWorkServiceImpl/updateDelMyWork',
    data: data,
    method: 'post'
  })
}
// 工作时间提醒列表
export const workTimeRemindList = (data) => {
  return axios.request({
    url: '/api/ac/csc/V2WorkTimeRemindServiceImpl/workTimeRemindList',
    data: data,
    method: 'post'
  })
}

// 工作时间提醒 新增
export const addWorkTimeRemind = (data) => {
  return axios.request({
    url: '/api/ac/csc/V2WorkTimeRemindServiceImpl/addWorkTimeRemind',
    data: data,
    method: 'post'
  })
}

// 工作时间提醒 编辑
export const updateWorkTimeRemind = (data) => {
  return axios.request({
    url: '/api/ac/csc/V2WorkTimeRemindServiceImpl/updateWorkTimeRemind',
    data: data,
    method: 'post'
  })
}

// 工作时间提醒 删除
export const updateDelWorkTimeRemind = (data) => {
  return axios.request({
    url: '/api/ac/csc/V2WorkTimeRemindServiceImpl/updateDelWorkTimeRemind',
    data: data,
    method: 'post'
  })
}
// 工作时间提醒 弹窗
export const workTimeRemindDialogList = (data) => {
  return axios.request({
    url: '/api/ac/csc/V2WorkTimeRemindServiceImpl/workTimeRemindDialogList',
    data: data,
    method: 'post'
  })
}
// 上级交办下分列表
export const getDownCodeList = (data) => {
  return axios.request({
    url: '/api/ac/csc/V2CompanyEventServiceImpl/getDownCodeList',
    data: data,
    method: 'post'
  })
}
// 上级交办分派
export const updateCompanyEventFen = (data) => {
  return axios.request({
    url: '/api/ac/csc/V2CompanyEventServiceImpl/updateCompanyEventFen',
    data: data,
    method: 'post'
  })
}
// 导出
export const exportExcelCompanyEvent = (data) => {
  return axios.request({
    url: '/api/ac/csc/V2CompanyEventServiceImpl/exportExcelCompanyEvent',
    data: data,
    method: 'get'
  })
}

// 专家列表
export const getProficientInfoList = (data) => {
  return axios.request({
    url: '/api/ac/csc/V2ProficientInfoServiceImpl/getProficientInfoList',
    data: data,
    method: 'post'
  })
}
// 抽取专家
export const getProficientInfoRand = (data) => {
  return axios.request({
    url: '/api/ac/csc/V2ProficientInfoServiceImpl/getProficientInfoRand',
    data: data,
    method: 'post'
  })
}
// 新增专家
export const insertProficientInfo = (data) => {
  return axios.request({
    url: '/api/ac/csc/V2ProficientInfoServiceImpl/insertProficientInfo',
    data: data,
    method: 'post'
  })
}
// 修改专家
export const updateProficientInfo = (data) => {
  return axios.request({
    url: '/api/ac/csc/V2ProficientInfoServiceImpl/updateProficientInfo',
    data: data,
    method: 'post'
  })
}
// 删除专家
export const deleteProficientInfo = (data) => {
  return axios.request({
    url: '/api/ac/csc/V2ProficientInfoServiceImpl/deleteProficientInfo',
    data: data,
    method: 'post'
  })
}
// 抽取之后保存专家与社区关联  传专家id
export const addUserProficient = (data) => {
  return axios.request({
    url: '/api/ac/csc/V2ProficientInfoServiceImpl/addUserProficient',
    data: data,
    method: 'post'
  })
}

// 专家打分列表
export const proficientLevelList = (data) => {
  return axios.request({
    url: '/api/ac/csc/V2ProficientInfoServiceImpl/proficientLevelList',
    data: data,
    method: 'post'
  })
}
// 专家打分提交
export const updateProficientLevel = (data) => {
  return axios.request({
    url: '/api/ac/csc/V2ProficientInfoServiceImpl/updateProficientLevel',
    data: data,
    method: 'post'
  })
}
